package com.fengyunhe.manager.service;

/**
 * 密码重置
 * @author yangyan
 * Created by Administrator on 2014/11/6.
 */
public interface AdminResetPwdService
{

    /**
     * 检测用户Email是否存在
     * @return
     */
    public String checkUserEmaiAndSetRedis(String email);

    /**
     * Email是否存在
     * @param token
     * @return
     */
    public boolean isEmailExists(String token);

    /**
     * 密码重置更新
     * @param token
     * @param password
     */
    public boolean resetUserPassword(String password, String token);
}
